package com.group.sliding.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.group.sliding.domain.po.Address;
import com.group.sliding.domain.query.AddressPageQuery;

/**
 * <p>
 *  服务类
 * </p>
 */
public interface IAddressService extends IService<Address> {

    void updateIsDefault(Long id, Boolean isDefault);

    Page<Address> search(AddressPageQuery query);
}
